﻿#region Copyrights Notice
//©2009 Microsoft Corporation.  All rights reserved.
#endregion

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
[assembly: CLSCompliant(true)]

namespace Microsoft.CISG.BitlockerRecovery.CDE
{
    public class IdentityCDE
    {
        private string _userAlias;
        private string _userDomain;
        private string _userMail;
        private string _userManagerAlias;
        private int _dBID;
        private string _machineName;
        private string _recoveryGUID;
        private byte[] _recoveryPassword;
        private byte[] _keyPackage;
        private byte[] _tpmHash;
        private bool _tpmFound;
        private string _tpmHashString;
        private string _volumeGUID;
        private int _userRoleId;
        private string _memberOf;
        private string _machineOwner;

        public string UserAlias
        {
            set { _userAlias = value; }
            get { return _userAlias; }
        }
        public string UserDomain
        {
            set { _userDomain = value; }
            get { return _userDomain; }
        }
        public string UserMail
        {
            set { _userMail = value; }
            get { return _userMail; }
        }
        public string UserManagerAlias
        {
            set { _userManagerAlias = value; }
            get { return _userManagerAlias; }
        }
        public int DBID
        {
            set { _dBID = value; }
            get { return _dBID; }
        }
        public string MachineName
        {
            set { _machineName = value; }
            get { return _machineName; }
        }
        public string RecoveryGUID
        {
            set { _recoveryGUID = value; }
            get { return _recoveryGUID; }
        }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public byte[] RecoveryPassword
        {
            set { _recoveryPassword = value; }
            get { return _recoveryPassword; }
        }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public byte[] KeyPackage
        {
            set { _keyPackage = value; }
            get { return _keyPackage; }
        }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Performance", "CA1819:PropertiesShouldNotReturnArrays")]
        public byte[] TPMHash
        {
            set { _tpmHash = value; }
            get { return _tpmHash; }
        }
        public bool TPMFound
        {
            set { _tpmFound = value; }
            get { return _tpmFound; }
        }
        public string TPMHashString
        {
            set { _tpmHashString = value; }
            get { return _tpmHashString; }
        }
        public string VolumeGUID
        {
            set { _volumeGUID = value; }
            get { return _volumeGUID; }
        }
        public int UserRoleId
        {
            set { _userRoleId = value; }
            get { return _userRoleId; }
        }
        public string MemberOf
        {
            set { _memberOf = value; }
            get { return _memberOf; }
        }
        public string MachineOwner
        {
            set { _machineOwner = value; }
            get { return _machineOwner; }
        }

    }
}
